package cn.yunhe.model;

public class Emp {

    private int empid;
    private String ename;
    private String job;
    private String hiberdate;
    private Double sal;
    private Dept dept;

    public Emp() {
    }

    public Emp(String ename, String job, String hiberdate, Double sal, Dept dept) {
        this.ename = ename;
        this.job = job;
        this.hiberdate = hiberdate;
        this.sal = sal;
        this.dept = dept;
    }

    public int getEmpid() {
        return empid;
    }

    public void setEmpid(int empid) {
        this.empid = empid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public String getHiberdate() {
        return hiberdate;
    }

    public void setHiberdate(String hiberdate) {
        this.hiberdate = hiberdate;
    }

    public Double getSal() {
        return sal;
    }

    public void setSal(Double sal) {
        this.sal = sal;
    }

    public Dept getDept() {
        return dept;
    }

    public void setDept(Dept dept) {
        this.dept = dept;
    }
}
